﻿
(function () {
    window.onload = function () {
        var MP = document.getElementById("Jaudio");
        var PP = document.getElementsByClassName("play").item(0);
        PP.onclick = function () {
            if (MP.paused) {
                MP.play();
                PP.style.backgroundImage = "url(../ContentAct/SumXc/images/musicplay.png)";
                PP.className = "play zxhh";
            } else {
                MP.pause();
                PP.style.backgroundImage = " url(../ContentAct/SumXc/images/stop.png)";
                PP.className = "play bxzhh";
            }
        }
    }
})();
